package com.ruoyi.behindOrder.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单总览对象 doc_order
 *
 * @author ruoyi
 * @date 2025-08-19
 */
public class YyyOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单Id */
    private Long orderId;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private BigDecimal orderPrice;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String orderWay;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String orderState;

    /** 团队Id */
    @Excel(name = "团队Id")
    private Integer teamId;

    /** 团队名称 */
    @Excel(name = "团队名称")
    private String teamName;

    /** 用户Id */
    @Excel(name = "用户Id")
    private Integer userId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }

    public void setOrderPrice(BigDecimal orderPrice)
    {
        this.orderPrice = orderPrice;
    }

    public BigDecimal getOrderPrice()
    {
        return orderPrice;
    }

    public void setOrderWay(String orderWay)
    {
        this.orderWay = orderWay;
    }

    public String getOrderWay()
    {
        return orderWay;
    }

    public void setOrderState(String orderState)
    {
        this.orderState = orderState;
    }

    public String getOrderState()
    {
        return orderState;
    }

    public Integer getTeamId() {
        return teamId;
    }

    public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("orderId", getOrderId())
                .append("orderPrice", getOrderPrice())
                .append("orderWay", getOrderWay())
                .append("orderState", getOrderState())
                .append("teamId", getTeamId())
                .append("teamName", getTeamName())
                .append("userId", getUserId())
                .append("userName", getUserName())
                .toString();
    }
}
